home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / comm / comm2 / hdrbbs11.lha / HBBS / Nodes / NODE1 / Device < prev    next >
Text File  |  1996-08-05  |  7KB  |  179 lines

  1. ;$HBBS
  2. ; Filename: Device
  3. : Location: Nodes/NodeX/
  4. ; Purpose: settings for modem
  5.  
  6. ; if this file is missing from a node directory the bbs software will assume
  7. ; the node is a sysop local node.
  8.  
  9. ; We hope the modem configuration options are complete enough for all sysops.
  10. ; the modem settings are normally a real pain to get right on other bbs systems
  11. ; so we have tried to make this VERY configurable.
  12. ; if you would like to see a new feature added to this then PLEASE CONTACT US
  13. ; IMMEDIATLY and we will do are very best to implement it as soon as we can!
  14.  
  15. ; Note: most of the setting in this config file should work with all 100% hayes
  16. ; compatiable modems, but there is bound to be one make of modem that might
  17. ; not support the defaults in this file,  in anycase, please check these
  18. ; settings with the manual for your modem just in case.
  19.  
  20. ; We recommend you use USRobotics/Miracom modems with this bbs software
  21. ; as they are extremly good and reliable modems.
  22.  
  23. ;******************************************************************************
  24.  
  25. ; serial device driver to use for the node, usually just serial.device
  26. ; note that this command is case sensitive.
  27.  
  28. ; we recommened you that you use USRSerial.device for usrobotics modems
  29. ; and BaudBandit.device for other modems,  these serial drivers are more
  30. ; streamlined, efficent and use less CPU time than the standard C= one.
  31.  
  32. DeviceName=USR Courier V34+
  33.  
  34. ;SerialDevice=nullmodem.device
  35. ;SerialUnit=2
  36. ;SerialBaud=38400
  37.  
  38. SerialDevice=USRSerial.device
  39. SerialUnit=0
  40. SerialBaud=57600
  41.  
  42. ; now, the following option, if enabled, will make the node open a small window
  43. ; on it's screen into which you will see all commands sent to the modem and
  44. ; all responces received back from it  you can also have these saved to a log
  45. ; file by enabling the ModemLog option (below)
  46. ; (note that clicking the "ModemDebug" button and on a node button from the
  47. ; gui will override this setting for as long as the node is active)
  48.  
  49. ModemDebug=ON
  50.  
  51. ; If enabled all input and output from the modem will be saved in a time and
  52. ; datestamped file (see BBS:Nodes/NodeX/NodeLocal file, option
  53. ; ModemLogFile= setting)
  54.  
  55. ModemLog=OFF
  56.  
  57.  
  58. ; max time to wait before OK or ERROR is received from the modem.
  59.  
  60. MaxCommandWait=5 ; value is in seconds...
  61.  
  62. ; number of retries the bbs will make before resending the TurnEchoOn
  63. ; string
  64.  
  65. CommandRetries=3
  66.  
  67. ; amount of times the bbs will send the TurnEchoOn string if it doesn't receive
  68. ; OK from the modem
  69.  
  70. EchoRetries=4
  71.  
  72. ; number of retries the software will make AFTER the echo retries (above) before
  73. ; the serial device driver is closed and reopened.
  74.  
  75. ReOpenRetries=2
  76.  
  77. ; time to wait after closing the serial device before reopening it.
  78.  
  79. ReOpenDelay=60 ; 60 per second
  80.  
  81. ; to recap using the 4 defaults above,
  82.  
  83. ; The node will retry the command 3 times, if the command times out then it
  84. ; will send the TurnEchoOn string to the modem 4 times until it receives an OK
  85. ; if it still fails it will close the serial device and reopen it
  86. ; after 120 milli seconds and try all over again..
  87.  
  88. ; using the above 4 settings we can pretty much cope for any strange error
  89. ; that might cause a modem to lockup.  Obviously if the modem has totally locked
  90. ; up and does not respond at all someone will still have to powercycle the modem
  91. ; by hand.
  92.  
  93. ; Now comes a really great feature,  if the modem does lockup totally (see above)
  94. ; the following script will be run.  So in theroy you could have a little
  95. ; IO device on you parallel port connected to the power of your modem (via a
  96. ; relay or something) that could actually turn the modem off and on again!!
  97. ; now how's that for failsafe bbs lockup protection!! :-)
  98.  
  99. LockUpScript=HBBS:Scripts/Lockup.scr
  100.  
  101. ; delay to wait before sending another command after OK is received.
  102. ; normally set this to about 5 or so for NULLMODEM.device, but for a modem
  103. ; you'll probably need values about 30...
  104.  
  105. DelayBetweenCommands=20 ; 60 per second...
  106.  
  107. ; specifies how long the software should wait before sending another
  108. ; character to the modem
  109.  
  110. TildeDelay=30
  111.  
  112. ; Also note that the Local Echo Should Be Turned ON, unlike most bbs software
  113. ; this software checks that the modem is actually receving the commands
  114. ; that you want to send to it.
  115.  
  116. ; the following command is send to the modem as soon as the serial device driver
  117. ; is opened, note that the bbs software WILL NOT verify that this command
  118. ; has been sent as the modem's local echo setting may be off so we cannot
  119. ; check for the characters coming back from the serial port until this
  120. ; command has been completed,  also make sure that the modem is setup so that
  121. ; when a command completed it returns either OK or ERROR rather than a numerical
  122. ; result code
  123.  
  124. TurnOnEcho_1=ATE1Q0V1
  125.  
  126. ; Modem INIT's get sent when the node is started, a user logs off and
  127. ; when the node is reset.
  128.  
  129. ; below are the preferred defaults, this bbs software lets the modem answer
  130. ; the call itself using its own auto answer method, so make sure auto answer
  131. ; is set to ON in the init string.  Normal Hayes Compatable modems use the S0
  132. ; register to set auto answer, it's best to make the modem answer after 2 or 3
  133. ; rings, to give those people going through some sort of international gateway
  134. ; or operator to put the modem on after they have finished speaking to an operator
  135.  
  136.  
  137. ModemInit_1=ATZ
  138. ModemInit_2=ATH0M1S0=10
  139.  
  140. ; for determining when a connection has been made the following methods are used
  141. ; the first is the strict connect method, the connect string received from the
  142. ; modem MUST match letter for letter to one of the strings defined in the
  143. ; StrictConnect.x= parameters.
  144. ; the second method is what we would normally use and that method is as follows.
  145. ; when a string is recevied from the modem it is searched for the word
  146. ; defined in RelaxedConnect and if that word is found the connection starts
  147.  
  148. StrictConnect=OFF
  149. StrictConnectStr_1=CONNECT 9600
  150. StrictConnectStr_2=CONNECT 12000
  151. StrictConnectStr_3=CONNECT 14400
  152. StrictConnectStr_4=CONNECT 16800
  153.  
  154. RelaxedConnectStr_1=CONNECT
  155.  
  156. ; Command sent to modem to put the modem in command mode while still on-line.
  157. ; Note: command is not checked when sent to modem
  158.  
  159. CommandModeString_1=~~~+++~~~
  160.  
  161. ; string sent to modem to enforce a hang up.
  162.  
  163. HangUpString=ATH0M0
  164.  
  165. ; string sent to modem to make it go off-hook.  This is sent after a carrier loss
  166. ; and when a user is logging off after the CommandModeString has been sent to
  167. ; the modem, you might also want to turn of your modem's speaker using something
  168. ; like "M0" in this.
  169.  
  170. OffHookString=ATH1M0
  171.  
  172. DropDTRHangup=TRUE
  173.  
  174. Incoming=RING
  175.  
  176. ImmediateAnswer=ATA
  177.  
  178. TurnOnEchoDelay=10
  179.